﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Manage/MasterPage.master" AutoEventWireup="true" CodeFile="Golbal_AdminListaspx.aspx.cs" Inherits="Manage_Golbal_AdminListaspx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style type="text/css">
    #new_add_table{ width:99%;border-collapse:collapse; empty-cells:show; margin-left:8px; margin-top:10px; margin-bottom:20px;}
    #new_add_table tr{ height:35px;background:#f6f6f6;}
    #new_add_table tr td{ border:#d8d8d8 1px solid; vertical-align:middle; text-align:center;}
    .tinput{ width:250px;}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<table id="new_add_table">
   <tr style=" height:25px; background:url('images/tt_x.gif') repeat-x;">
     <td colspan="5" style=" padding-left:8px;">网站信息设置
     </td>
   </tr>
   <tr style=" height:25px; font-weight:bold; text-align:center;">
      <td>序号</td>
      <td>管理员账号</td>
      <td>管理员姓名</td>
      <td>管理员密码</td>
      <td>操作</td>
   </tr>
   <asp:Repeater ID="Repeater1" runat="server" OnItemCommand="Repeater1_RepeaterCommand">
       <ItemTemplate>
              <tr>
                  <td><%#Container.ItemIndex + 1%>
                      <asp:HiddenField ID="Hiddenid" runat="server" Value='<%# Eval("id")%>' />
                  </td>
                  <td>
                      <asp:TextBox ID="UserName" runat="server" Text='<%# Eval("User_Name")%>'></asp:TextBox>
                  </td>
                  <td>
                      <asp:TextBox ID="TrueName" runat="server" Text='<%# Eval("Ture_Name")%>'></asp:TextBox>
                  </td>
                  <td>
                      <asp:TextBox ID="UserPassWord" runat="server"></asp:TextBox>
                  </td>
                  <td>
                      <asp:LinkButton ID="Udata" runat="server" CommandName="Edit" OnClientClick="return confirm('确定提交修改吗!!修改之后可能导致其他管理员无法登陆');">修改</asp:LinkButton>&nbsp;&nbsp;&nbsp;
                      <asp:LinkButton ID="Delete" runat="server" CommandName="Del" OnClientClick="return confirm('确定要执行删除吗!!!删除后将不能恢复');">删除</asp:LinkButton>
                  </td>  
               </tr>
       </ItemTemplate>
    </asp:Repeater>
</table>
         <span style=" margin-left:240px; margin-top:20px;">
         <asp:LinkButton ID="toone" runat="server"  OnClick="toone_Click">[首页]</asp:LinkButton>          
         <asp:LinkButton ID="toup" runat="server" OnClick="toup_Click">[上一页]</asp:LinkButton>&nbsp;
         <asp:LinkButton ID="tonext" runat="server"  OnClick="tonext_Click">[下一页]</asp:LinkButton>
         <asp:LinkButton ID="tolast" runat="server" OnClick="tolast_Click">[尾页]</asp:LinkButton>&nbsp;
          [页次:<asp:Label ID="Label1" runat="server" ForeColor="red"></asp:Label> / <asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>页] 
          [共<asp:Label ID="pagesum" runat="server" Text="Label" ForeColor="red"></asp:Label>项 
         <asp:Label ID="tpagesizes" runat="server" Text="Label" ForeColor="red"></asp:Label>项/页]
         </span>
</asp:Content>

